rm -rf "build/"
mkdir "build/"

javac -encoding utf8 -cp .:libs/easyaccept.jar:./src/acceptTests:./src/database:./src/exceptions/:./src/ids:./src/sessionManager:./src/user:./src/Source: -sourcepath src/acceptTests/*.java src/acceptTests/MainTest.java src/database/*.java src/exceptions/*.java src/exceptions/comment/*.java src/exceptions/database/*.java src/exceptions/notifier/*.java src/exceptions/post/*.java src/ids/*.java src/sessionManager/*.java src/user/*.java src/user/blog/*.java src/user/notifier/*.java src/user/post/*.java src/user/post/comment/*.java src/user/profile/*.java src/Search/*.java -d build/

cp -rp src/acceptTests/*.txt build/acceptTests

unzip libs/easyaccept.jar -d build/
                                                                                                                                                         cd build/

export TESTA="java -classpath ../libs/easyaccept.jar:./acceptTests/:. easyaccept.EasyAccept "

$TESTA acceptTests.US01Facade acceptTests/us1.txt;
$TESTA acceptTests.US02Facade acceptTests/us2.txt;
$TESTA acceptTests.US03Facade acceptTests/us3.txt;
$TESTA acceptTests.US04Facade acceptTests/us4.txt;
$TESTA acceptTests.US05Facade acceptTests/us5.txt;
$TESTA acceptTests.US06Facade acceptTests/us6.txt;
$TESTA acceptTests.US07Facade acceptTests/us7.txt;
$TESTA acceptTests.US08Facade acceptTests/us8.txt;
$TESTA acceptTests.US09Facade acceptTests/us9.txt;
$TESTA acceptTests.US10Facade acceptTests/us10.txt;
$TESTA acceptTests.US11Facade acceptTests/us11.txt;
$TESTA acceptTests.US12Facade acceptTests/us12.txt;
$TESTA acceptTests.US13Facade acceptTests/us13.txt;
$TESTA acceptTests.US14Facade acceptTests/us14.txt;
